xSQL Schema Compare SDK for SQL Server version 12
CreateFromSnapshot(Stream,EventHandler<SnapshotOperationEventArgs>) Method


The stream that contains the database snapshot.
A method that should be attached to the snapshot event in order to get progress information.
Creates a database objects from the specified snapshot stream.
Syntax
'Declaration
 
Public Overloads Shared Function CreateFromSnapshot( _
   ByVal stream As System.IO.Stream, _
   Optional ByVal snapshotOperationProgress As System.EventHandler(Of SnapshotOperationEventArgs) _
) As SqlDatabase
public static SqlDatabase CreateFromSnapshot( 
   System.IO.Stream stream,
   System.EventHandler<SnapshotOperationEventArgs> snapshotOperationProgress
)
public: static SqlDatabase* CreateFromSnapshot( 
   System.IO.Stream* stream,
   System.EventHandler<SnapshotOperationEventArgs*>* snapshotOperationProgress
) 

Parameters

stream
The stream that contains the database snapshot.
snapshotOperationProgress
A method that should be attached to the snapshot event in order to get progress information.

Return Value

A SqlDatabase object.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

SqlDatabase Class
SqlDatabase Members
Overload List

 

 


©Copyright 2022 xSQL Software. All Rights Reserved.

Send Feedback